//
//  AccountDetailModel.h
//  ELife
//
//  Created by  刘奇男 on 11-8-6.
//  Copyright 2011年 __MyCompanyName__. All rights reserved.
//

#import <Foundation/Foundation.h>


@interface AccountDetailModel : NSObject {
//    1.8 资金明细
//    请求地址: /user.php
//    请求参数: action  => getaccountlist
//    user_id =>用户id
//    current_page =>当前第几页
//    page_size => 每页显示行数
//    
//    返回参数: 
//    user_id => 用户id
//    total_page => 记录总页数
//    current_page => 当前页数
//    page_size  => 每页显示记录数
//    
//    item_name  => 资金变动说明
//    type => 资金变动类型
//    account_res  => 余额
//    charge_in	 => 增加
//    create_time => 订单创建时间
//    charge_out => 减少
//    
//    返回格式事例:
//	<?xml version="1.0" encoding="UTF-8"?><msg><head><returncode>0</returncode><transcode>getaccountlist</transcode></head><body><user_id>1</user_id><total_page>9</total_page><current_page>1</current_page><page_size>3</page_size><account_list><item><item_name>CZMP20101118-PM86</item_name><type>2</type><account_res>180.4000</account_res><charge_in>5.0000</charge_in><charge_out></charge_out><create_time>2010-11-18 09:05:49</create_time></item><item><item_name>CZMP20101118-PM85</item_name><type>2</type><account_res>175.4000</account_res><charge_in>5.0000</charge_in><charge_out></charge_out><create_time>2010-11-18 09:05:30</create_time></item><item><item_name>CZMP20101118-PM83</item_name><type>2</type><account_res>170.4000</account_res><charge_in>5.0000</charge_in><charge_out></charge_out><create_time>2010-11-18 09:05:05</create_time></item></account_list></body></msg>
    
    NSInteger total_page;
    NSInteger current_page;
    NSInteger page_size;

    NSString* item_name;
    NSInteger type;
    NSString* account_res;
    NSString* charge_in;
    NSString* charge_out;
}


@property (nonatomic) NSInteger total_page;
@property (nonatomic) NSInteger current_page;
@property (nonatomic) NSInteger page_size;

@property (nonatomic, retain) NSString* item_name;
@property (nonatomic) NSInteger type;
@property (nonatomic, retain) NSString* account_res;
@property (nonatomic, retain) NSString* charge_in;
@property (nonatomic, retain) NSString* charge_out;

@end
